Skip to main content

Get balance


GET /api/distributor/balance/check

This GET method enables to retrieve the current available balance of the authenticated client in the Keepz system.

Authentication

This endpoint requires an OAuth 2.0 Bearer Token. Pass the access_token obtained from the authentication flow in the Authorization header:

Authorization: Bearer <access_token>

Request details

Query parameters

ParameterTypeRequiredDescriptionPossible ValuesNote
currencystringCurrency for which balance should be checked.GEL, USD, EURIf omitted, the response may return default account balance.

Response details

✅ Success Response

If the request is valid, the API returns next payload:

{
"value": {
"amount": 2500.2
}
}

Inside value object, the following parameters are available:

ParameterTypeDescription
amountnumberCurrent balance available for the client.
❌ Error Response

If an error occurs, the API returns next payload:

{
"message": "Client balance not found with given client id",
"statusCode": 5015
}
ParameterTypeDescription
messagestringError message. Details are provided in the dedicated section below.
statusCodenumberError status code. Details are provided in the dedicated section below.

⚠️ Important: Make sure to include the Bearer token in the Authorization header for all requests. The balance information is real-time and may change frequently.

Details can be found at Error Code Description.